package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.HospitalAttributesEnum;
import com.ym.medical.enums.HospitalBelongEnum;
import com.ym.medical.enums.HospitalLevelEnum;
import com.ym.medical.enums.HospitalTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: 张文博
 * @version: 2019年11月13日 11:47
 */


@Data
@ApiModel("医院返回实体")
public class HosSosVo implements Serializable {
    @ApiModelProperty(notes = "主键")
    private Long id;

    @ApiModelProperty(notes = "医院编码")
    private String hosCode;

    @ApiModelProperty(notes = "医院名称")
    private String hosName;

    @ApiModelProperty(notes = "icon图")
    private String hosPhoto;

    @ApiModelProperty(notes = "区域")
    private String area;

    @ApiModelProperty(notes = "省份")
    private String prov;

    @ApiModelProperty(notes = "市")
    private String city;

    @ApiModelProperty(notes = "医院类别")
    @JsonSerialize(converter = HospitalTypeEnum.Covert.class)
    private String theType;

    @ApiModelProperty(notes = "医院等级")
    @JsonSerialize(converter = HospitalLevelEnum.Covert.class)
    private String hosLevel;

    @ApiModelProperty(notes = "公/私")
    @JsonSerialize(converter = HospitalAttributesEnum.Covert.class)
    private String hosProp;

    @ApiModelProperty(notes = "医院地址")
    private String addrDesc;

    @ApiModelProperty(notes = "联系电话")
    private String phone;


    @ApiModelProperty(notes = "医院特长")
    private String theGoods;

    @ApiModelProperty(notes = "趁车路线")
    private String thePath;

    @ApiModelProperty(notes = "医院介绍")
    private String introduction;

    @ApiModelProperty("科室code")
    private String deptCode;

    @ApiModelProperty(notes = "医院类别")
    private String theTypeName;

    @ApiModelProperty("医院地址")
    private String navUrl;

    @ApiModelProperty(notes = "层级")
    @JsonSerialize(converter = HospitalBelongEnum.Covert.class)
    private String theBelong;


}
